from django.conf.urls.defaults import *
from hakaze import settings

urlpatterns = patterns('',
    # Example
    (settings.URL_PREFIX + r'/forums/', include('hakaze.forums.urls')),
    (settings.URL_PREFIX + r'/utils/', include('hakaze.utils.urls')),
    (settings.URL_PREFIX + r'/wiki/', include('hakaze.wiki.urls')),


    (settings.URL_PREFIX + r'/forumadmin/edit/(channel|category)/$','hakaze.forums.views.admineditview'),    
    (settings.URL_PREFIX + r'/forumadmin/login/$','hakaze.forums.views.loginview'),
    (settings.URL_PREFIX + r'/forumadmin/logout/$','hakaze.forums.views.logoutview'),
    (settings.URL_PREFIX + r'/forumadmin/postdelete/$','hakaze.forums.views.postdelete'),
    (settings.URL_PREFIX + r'/forumadmin/$','hakaze.forums.views.adminview'),
    (settings.URL_PREFIX + r'/$','hakaze.forums.views.directtoforums'),
#   (r'^admin/', include('django.contrib.admin.urls')),
)
